import React from "react";

import "./index.css";
import frontImg from "./img/front.png";
import apayQRImg from "./img/apayQR.png";
// import {useLocation } from "react-router-dom";
export default function Apay() {
  // const loca = useLocation();
  return (
    <div className="tyc_apaychange">
      <ul>
        <li>
          <p>使用电脑支付</p>
          <div>
            <img src={frontImg} alt="" />
          </div>
          <button>立即支付</button>
        </li>
        <li>
          <p className="tyc_or">或</p>
        </li>
        <li>
          <p>使用支付宝钱包扫一扫付款</p>
          <img src={apayQRImg} alt="" />
        </li>
      </ul>
    </div>
  );
}
